package javabasics.encap;

public class EncapTest {

    //按照要求用,封装成员方法
    private int s;

    private int ss;

    private void sum(int s, int ss){
        System.out.println("sum" + (s + ss));
    }

    public int getS() {
        return s;
    }

    public void setS(int s) {
        this.s = s;
    }

    public int getSs() {
        return ss;
    }

    public void setSs(int ss) {
        this.ss = ss;
    }
}
